<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Satellite: Satellite/Satellite.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="LASAR Logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Satellite
   &#160;<span id="projectnumber">Revision 55</span>
   </div>
   <div id="projectbrief">Embedded AC Light Control and Bluetooth</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Satellite/Satellite.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;avr\io.h&gt;</code><br/>
<code>#include &lt;avr\sfr_defs.h&gt;</code><br/>
<code>#include &lt;util\delay.h&gt;</code><br/>
<code>#include &lt;avr\interrupt.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;avr/eeprom.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="_satellite_8h_source.html">Satellite.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="_u_s_a_r_t_8h_source.html">USART\USART.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="memitem:a1f576ee1d06e908fc16330a4506780a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a1f576ee1d06e908fc16330a4506780a9">checkAlarm</a> ()</td></tr>
<tr class="memitem:a3f325a8aec708de6a186e6268f38d045"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a3f325a8aec708de6a186e6268f38d045">setDim</a> (int arg)</td></tr>
<tr class="memitem:a7fbfa2cedde30ed04396cc0a3f232f59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a7fbfa2cedde30ed04396cc0a3f232f59">setBlinds</a> (int arg)</td></tr>
<tr class="memitem:a11e0fd7642e9f27565483c004bfbadd7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a11e0fd7642e9f27565483c004bfbadd7">getDigits</a> (char *cmd, uint8_t *<a class="el" href="_light_controller_8c.html#af27e3188294c2df66d975b74a09c001d">i</a>)</td></tr>
<tr class="memitem:ac3f87e7d8ba1b0dbacfd1bc1674cb92c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#ac3f87e7d8ba1b0dbacfd1bc1674cb92c">checkPIR</a> ()</td></tr>
<tr class="memitem:af0309a165c5eb3e860fd75ce362b8529"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#af0309a165c5eb3e860fd75ce362b8529">initAC</a> (int dutycycle)</td></tr>
<tr class="memitem:a2f78b3f3318ab9a0a24a164f24256268"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a2f78b3f3318ab9a0a24a164f24256268">initL2F</a> ()</td></tr>
<tr class="memitem:a228ca26c149b48d0fa6a9e3c2c7975d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a228ca26c149b48d0fa6a9e3c2c7975d0">initPIR</a> ()</td></tr>
<tr class="memitem:a7f03a61277bace0b0331e42497e0b69c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a7f03a61277bace0b0331e42497e0b69c">initServo</a> ()</td></tr>
<tr class="memitem:a9c4665742c6b6eb1f0bb9dde41f7cba3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a9c4665742c6b6eb1f0bb9dde41f7cba3">ISR</a> (PCINT2_vect)</td></tr>
<tr class="memitem:a09ce999e15ad60b8a3f07d08af1946f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a09ce999e15ad60b8a3f07d08af1946f9">ISR</a> (USART_RX_vect)</td></tr>
<tr class="memitem:aec43762dc86e029b395d4e5819192c2d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#aec43762dc86e029b395d4e5819192c2d">ISR</a> (TIMER0_COMPA_vect)</td></tr>
<tr class="memitem:ad39420cdd896dd12c68e36313139d0a5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#ad39420cdd896dd12c68e36313139d0a5">ISR</a> (TIMER1_COMPA_vect)</td></tr>
<tr class="memitem:a5686c229bdef50123688ab6cb1404230"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a5686c229bdef50123688ab6cb1404230">ISR</a> (TIMER2_COMPA_vect)</td></tr>
<tr class="memitem:a7cfcbe42bd266750aeb6e5d71e5ea479"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a7cfcbe42bd266750aeb6e5d71e5ea479">ISR</a> (TIMER2_OVF_vect)</td></tr>
<tr class="memitem:afea150fcd685610cb9f7672fce361e53"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#afea150fcd685610cb9f7672fce361e53">ISR</a> (INT0_vect)</td></tr>
<tr class="memitem:a0c4271458583c66d6662599d7489194f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> (__vector_default)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a236f770a65f752918757c3958cf5f204"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a236f770a65f752918757c3958cf5f204">rxflag</a> = 0</td></tr>
<tr class="memitem:aae650fce085d4bfa870f43ff053964ae"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#aae650fce085d4bfa870f43ff053964ae">received</a> = 0</td></tr>
<tr class="memitem:a26575f218c319e03f9e581961d0db951"><td class="memItemLeft" align="right" valign="top">volatile char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a26575f218c319e03f9e581961d0db951">command</a> [15]</td></tr>
<tr class="memitem:abd869966ad1fb32842901995c490a5c1"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#abd869966ad1fb32842901995c490a5c1">set</a> = 1</td></tr>
<tr class="memitem:a2f56caf41aa76b051430902e2fa4ed0a"><td class="memItemLeft" align="right" valign="top">volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a2f56caf41aa76b051430902e2fa4ed0a">dim</a></td></tr>
<tr class="memitem:a22c9b1ebd8f3dc707066230c17527163"><td class="memItemLeft" align="right" valign="top">volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a22c9b1ebd8f3dc707066230c17527163">tdim</a></td></tr>
<tr class="memitem:a77fea233825d3ea077bf940956640746"><td class="memItemLeft" align="right" valign="top">volatile unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a77fea233825d3ea077bf940956640746">count</a> = 0</td></tr>
<tr class="memitem:a44a37c71a87f51f50552afb1c9a858a0"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a44a37c71a87f51f50552afb1c9a858a0">zerocross</a> = 0</td></tr>
<tr class="memitem:a1bf7d853caa0838f152723bfe86a953a"><td class="memItemLeft" align="right" valign="top">volatile int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a1bf7d853caa0838f152723bfe86a953a">blinds</a></td></tr>
<tr class="memitem:a45b83f9bb83b05404aef1d255b8e7beb"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a45b83f9bb83b05404aef1d255b8e7beb">sActive</a> = 0</td></tr>
<tr class="memitem:aaca88a07087bab2b9d497ead6054f9e2"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#aaca88a07087bab2b9d497ead6054f9e2">active</a> = 1</td></tr>
<tr class="memitem:ab319800be110c80687e8dabcd09f411c"><td class="memItemLeft" align="right" valign="top">volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#ab319800be110c80687e8dabcd09f411c">tInactive</a> = 0</td></tr>
<tr class="memitem:aa91412b6d4211cd461707df577a1b5ef"><td class="memItemLeft" align="right" valign="top">volatile unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#aa91412b6d4211cd461707df577a1b5ef">NumChanges</a> = 0</td></tr>
<tr class="memitem:abb0c4079531ec692220077cfa80e1c68"><td class="memItemLeft" align="right" valign="top">volatile float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#abb0c4079531ec692220077cfa80e1c68">Freq</a> = 0</td></tr>
<tr class="memitem:af7bb98cfb642794e39ce4069aaa8de27"><td class="memItemLeft" align="right" valign="top">volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#af7bb98cfb642794e39ce4069aaa8de27">d1</a></td></tr>
<tr class="memitem:a3262002a0b06dd6387fb8944fd89daa0"><td class="memItemLeft" align="right" valign="top">volatile int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a3262002a0b06dd6387fb8944fd89daa0">d2</a></td></tr>
<tr class="memitem:ad6a84f4aa9d151edcaa73ee23c0974f2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#ad6a84f4aa9d151edcaa73ee23c0974f2">chour</a> = 8</td></tr>
<tr class="memitem:ac4aa070aa10b8e9b4030f4180b583a7d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#ac4aa070aa10b8e9b4030f4180b583a7d">cmin</a> = 00</td></tr>
<tr class="memitem:a35012c650dea927c17f796823e3ae55f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a35012c650dea927c17f796823e3ae55f">csec</a> = 00</td></tr>
<tr class="memitem:a5af3723c41140b2caccbf79a50051919"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_pref.html">Pref</a> EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a5af3723c41140b2caccbf79a50051919">wake</a></td></tr>
<tr class="memitem:a44ab544c3240a2ef9c9e450af43920c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_pref.html">Pref</a> EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a44ab544c3240a2ef9c9e450af43920c8">leave</a></td></tr>
<tr class="memitem:a233d61594d9ce03f4c281f689824ba9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_pref.html">Pref</a> EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#a233d61594d9ce03f4c281f689824ba9d">sleep</a></td></tr>
<tr class="memitem:af3ec09938eae73bb89a737cf21f8df84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_pref.html">Pref</a> EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#af3ec09938eae73bb89a737cf21f8df84">ret</a></td></tr>
<tr class="memitem:af2b1b145b688820baabac49aed0a93e9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_time.html">Time</a> EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#af2b1b145b688820baabac49aed0a93e9">lTime</a></td></tr>
<tr class="memitem:add9b652df57b49cbba197653f59e4229"><td class="memItemLeft" align="right" valign="top">uint8_t EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#add9b652df57b49cbba197653f59e4229">sBlinds</a> = 0</td></tr>
<tr class="memitem:abaf22b1154093cac603e7ceba1f9803d"><td class="memItemLeft" align="right" valign="top">uint8_t EEMEM&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#abaf22b1154093cac603e7ceba1f9803d">sDim</a> = 0</td></tr>
<tr class="memitem:af54d512f4144537cca285b85b1634e26"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_satellite_8c.html#af54d512f4144537cca285b85b1634e26">buffer</a> [12]</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a1f576ee1d06e908fc16330a4506780a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#a1f576ee1d06e908fc16330a4506780a9">checkAlarm</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac3f87e7d8ba1b0dbacfd1bc1674cb92c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#ac3f87e7d8ba1b0dbacfd1bc1674cb92c">checkPIR</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a11e0fd7642e9f27565483c004bfbadd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="_satellite_8h.html#a11e0fd7642e9f27565483c004bfbadd7">getDigits</a> </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af0309a165c5eb3e860fd75ce362b8529"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#af0309a165c5eb3e860fd75ce362b8529">initAC</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>dutycycle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2f78b3f3318ab9a0a24a164f24256268"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#a2f78b3f3318ab9a0a24a164f24256268">initL2F</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a228ca26c149b48d0fa6a9e3c2c7975d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#a228ca26c149b48d0fa6a9e3c2c7975d0">initPIR</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7f03a61277bace0b0331e42497e0b69c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_servo_8h.html#a6a2dee3fe308119a2bf1b3a8e24c0800">initServo</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9c4665742c6b6eb1f0bb9dde41f7cba3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">PCINT2_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a09ce999e15ad60b8a3f07d08af1946f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">USART_RX_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aec43762dc86e029b395d4e5819192c2d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">TIMER0_COMPA_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad39420cdd896dd12c68e36313139d0a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">TIMER1_COMPA_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5686c229bdef50123688ab6cb1404230"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">TIMER2_COMPA_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7cfcbe42bd266750aeb6e5d71e5ea479"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">TIMER2_OVF_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afea150fcd685610cb9f7672fce361e53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">INT0_vect&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0c4271458583c66d6662599d7489194f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_satellite_8c.html#a0c4271458583c66d6662599d7489194f">ISR</a> </td>
          <td>(</td>
          <td class="paramtype">__vector_default&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a840291bc02cba5474a4cb46a9b9566fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_satellite_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7fbfa2cedde30ed04396cc0a3f232f59"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#a7fbfa2cedde30ed04396cc0a3f232f59">setBlinds</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3f325a8aec708de6a186e6268f38d045"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_satellite_8h.html#a3f325a8aec708de6a186e6268f38d045">setDim</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="aaca88a07087bab2b9d497ead6054f9e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#aaca88a07087bab2b9d497ead6054f9e2">active</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1bf7d853caa0838f152723bfe86a953a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile int8_t <a class="el" href="_satellite_8c.html#a1bf7d853caa0838f152723bfe86a953a">blinds</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af54d512f4144537cca285b85b1634e26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="_satellite_8c.html#af54d512f4144537cca285b85b1634e26">buffer</a>[12]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad6a84f4aa9d151edcaa73ee23c0974f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="_satellite_8c.html#ad6a84f4aa9d151edcaa73ee23c0974f2">chour</a> = 8</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac4aa070aa10b8e9b4030f4180b583a7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="_satellite_8c.html#ac4aa070aa10b8e9b4030f4180b583a7d">cmin</a> = 00</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a26575f218c319e03f9e581961d0db951"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile char <a class="el" href="_satellite_8c.html#a26575f218c319e03f9e581961d0db951">command</a>[15]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a77fea233825d3ea077bf940956640746"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile unsigned int <a class="el" href="_satellite_8c.html#a77fea233825d3ea077bf940956640746">count</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a35012c650dea927c17f796823e3ae55f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="_satellite_8c.html#a35012c650dea927c17f796823e3ae55f">csec</a> = 00</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af7bb98cfb642794e39ce4069aaa8de27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile int <a class="el" href="_satellite_8c.html#af7bb98cfb642794e39ce4069aaa8de27">d1</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3262002a0b06dd6387fb8944fd89daa0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile int <a class="el" href="_satellite_8c.html#a3262002a0b06dd6387fb8944fd89daa0">d2</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2f56caf41aa76b051430902e2fa4ed0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile int <a class="el" href="_satellite_8c.html#a2f56caf41aa76b051430902e2fa4ed0a">dim</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abb0c4079531ec692220077cfa80e1c68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile float <a class="el" href="_satellite_8c.html#abb0c4079531ec692220077cfa80e1c68">Freq</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a44ab544c3240a2ef9c9e450af43920c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_pref.html">Pref</a> EEMEM <a class="el" href="_satellite_8c.html#a44ab544c3240a2ef9c9e450af43920c8">leave</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af2b1b145b688820baabac49aed0a93e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_time.html">Time</a> EEMEM <a class="el" href="_satellite_8c.html#af2b1b145b688820baabac49aed0a93e9">lTime</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa91412b6d4211cd461707df577a1b5ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile unsigned long <a class="el" href="_satellite_8c.html#aa91412b6d4211cd461707df577a1b5ef">NumChanges</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aae650fce085d4bfa870f43ff053964ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#aae650fce085d4bfa870f43ff053964ae">received</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af3ec09938eae73bb89a737cf21f8df84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_pref.html">Pref</a> EEMEM <a class="el" href="_satellite_8c.html#af3ec09938eae73bb89a737cf21f8df84">ret</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a236f770a65f752918757c3958cf5f204"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#a236f770a65f752918757c3958cf5f204">rxflag</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a45b83f9bb83b05404aef1d255b8e7beb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#a45b83f9bb83b05404aef1d255b8e7beb">sActive</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="add9b652df57b49cbba197653f59e4229"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t EEMEM <a class="el" href="_satellite_8c.html#add9b652df57b49cbba197653f59e4229">sBlinds</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abaf22b1154093cac603e7ceba1f9803d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t EEMEM <a class="el" href="_satellite_8c.html#abaf22b1154093cac603e7ceba1f9803d">sDim</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abd869966ad1fb32842901995c490a5c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#abd869966ad1fb32842901995c490a5c1">set</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a233d61594d9ce03f4c281f689824ba9d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_pref.html">Pref</a> EEMEM <a class="el" href="_satellite_8c.html#a233d61594d9ce03f4c281f689824ba9d">sleep</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a22c9b1ebd8f3dc707066230c17527163"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile int <a class="el" href="_satellite_8c.html#a22c9b1ebd8f3dc707066230c17527163">tdim</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab319800be110c80687e8dabcd09f411c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#ab319800be110c80687e8dabcd09f411c">tInactive</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5af3723c41140b2caccbf79a50051919"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_pref.html">Pref</a> EEMEM <a class="el" href="_satellite_8c.html#a5af3723c41140b2caccbf79a50051919">wake</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a44a37c71a87f51f50552afb1c9a858a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t <a class="el" href="_satellite_8c.html#a44a37c71a87f51f50552afb1c9a858a0">zerocross</a> = 0</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Thu Apr 19 2012 16:20:24 for Satellite by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
